﻿// checkbuttons.cs - Gtk# Tutorial example
//
// Authors: Alejandro Sanchez Acosta &li;raciel@es.gnu.org>
//          Cesar Octavio Lopez Nataren &li;cesar@ciencias.unam.mx>
//
// (C) 2002 Alejandro Sanchez Acosta &li;raciel@es.gnu.org>
//          Cesar Octavio Lopez Nataren &li;cesar@ciencias.unam.mx>

using System;
using Gtk;

namespace GtkSharpTutorial
{
    class Program
    {
        static void delete_event(object obj, DeleteEventArgs args)
        {
            Application.Quit();
        }

        public static void Main(string[] args)
        {
            Application.Init();
            var form = new Form();
            form.DeleteEvent += delete_event;
            form.Show();
            Application.Run();
        }
    }
}
